<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<meta charset="utf-8" />
	<title>{$Think.lang.idx_config_page_title} - {$Think.lang.cfg_website}</title>
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta content="" name="description" />
	<meta content="" name="author" />
	<!-- BEGIN GLOBAL MANDATORY STYLES -->
	<link href="{$NOW_THEME_URL}/Assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<link href="{$NOW_THEME_URL}/Assets/plugins/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
	<link href="{$NOW_THEME_URL}/Assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<link href="{$NOW_THEME_URL}/Assets/css/style-metro.css" rel="stylesheet" type="text/css"/>
	<link href="{$NOW_THEME_URL}/Assets/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="{$NOW_THEME_URL}/Assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
	<link href="{$NOW_THEME_URL}/Assets/css/themes/{:session('skin')}.css" rel="stylesheet" type="text/css" id="style_color"/>
	<!-- END PAGE LEVEL STYLES -->
	<link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed">
	<!-- BEGIN HEADER -->
	<include file="Public:header" />
	<!-- END HEADER -->
	<!-- BEGIN CONTAINER -->
	<div class="page-container">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar nav-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->        
			<ul class="page-sidebar-menu">
            	<li>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone"></div>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li>
                {$menu_tree}
            </ul>
			<!-- END SIDEBAR MENU -->
		</div>
		<!-- END SIDEBAR -->
		<!-- BEGIN PAGE -->
		<div class="page-content">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div id="portlet-config" class="modal hide">
				<div class="modal-header">
					<button data-dismiss="modal" class="close" type="button"></button>
					<h3>portlet Settings</h3>
				</div>
				<div class="modal-body">
					<p>Here will be a configuration form</p>
			  </div>
			</div>
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN PAGE CONTAINER-->
			<div class="container-fluid">
				<!-- BEGIN PAGE HEADER-->   
			  <div class="row-fluid">
					<div class="span12">
                    	<div class="clear">&nbsp;</div>                        
						<ul class="breadcrumb">
							<li>
								<i class="icon-home"></i>
								<a href="__APP__">{$Think.lang.cfg_page_home}</a> 
								<span class="icon-angle-right"></span>
							</li>
							<li><a href="#">{$Think.lang.idx_config_page_title}</a></li>
						</ul>
					</div>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN VALIDATION STATES-->
						<div class="portlet box blue">
							<div class="portlet-title">
								<div class="caption"><i class="icon-plus"></i>{$Think.lang.idx_config_page_title}</div>
								<div class="tools">
									<a href="javascript:;" class="collapse"></a>
								</div>
							</div>
							<div class="portlet-body form">
                            	
                            <!-- BEGIN FORM-->
                            <form action="__URL__/config" method="post" id="adcontentForm" class="form-horizontal">
                                <div class="alert alert-error hide">
                                    <button class="close" data-dismiss="alert"></button>
                                    {$Think.lang.cfg_form_err_allform}
                                </div>
                                <div class="alert alert-success hide">
                                    <button class="close" data-dismiss="alert"></button>
                                    {$Think.lang.cfg_form_ok_allform}
                                </div>
                                
                                <div class="tabbable tabbable-custom">
                                    <ul class="nav nav-tabs">
                                        <li class="active">
                                        	<a href="#tab_1_1" data-toggle="tab">
                                        		{$Think.lang.idx_form_cfg_basicfig}
                                        	</a>
                                        </li>
                                        <li>
                                        	<a href="#tab_1_3" data-toggle="tab">
                                        		{$Think.lang.idx_form_cfg_wxconfig}
                                        	</a>
                                        </li>
                                        <li>
                                        	<a href="#tab_1_2" data-toggle="tab">
                                        		{$Think.lang.idx_form_cfg_emailfig}
                                        	</a>
                                        </li>
                                        <li>
                                        	<a href="#tab_1_4" data-toggle="tab">
                                        		{$Think.lang.idx_form_cfg_smscfg}
                                        	</a>
                                        </li>
                                        <li>
                                        	<a href="#tab_1_5" data-toggle="tab">
                                        		{$Think.lang.idx_form_cfg_othcfg}
                                        	</a>
                                        </li>
                                        <!--<li>
                                        	<a href="#tab_1_4" data-toggle="tab">
                                        		{$Think.lang.idx_form_cfg_wxsite}
                                        	</a>
                                        </li>-->
                                    </ul>
                                  <div class="tab-content">
                                  <!--tab1 start-->
                                  <div class="tab-pane active" id="tab_1_1">                               
                                   
                                   <foreach name="langList" item="v" key="k">
     
                                   <div class="control-group">
										<label class="control-label">
                                        {$v}{$Think.lang.idx_form_cfg_webname}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[webname{$k}]" data-required="1" class="span6 m-wrap"
                                             value="<php>echo $lists['webname'.$k]</php>"/>[webname{$k}]
										</div>
									</div>
                                                                
                                    <div class="control-group">
										<label class="control-label">
										{$v}{$Think.lang.idx_form_cfg_keywords}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[keywords{$k}]" class="span6 m-wrap" 
                                             value="<php>echo $lists['keywords'.$k]</php>"/>[keywords{$k}]
										</div>
									</div>
                                    
                                    <div class="control-group">
										<label class="control-label">
										{$v}{$Think.lang.idx_form_cfg_description}:
                                        <span class="required">*</span></label>
										<div class="controls"><textarea rows="3" name="cfg[description{$k}]" 
                                         class="span6 m-wrap"><php>echo $lists['description'.$k]</php></textarea>
                                         [description{$k}]
										</div>
									</div> 
									</foreach>
									                                           
                                  </div>
                                  <!--tab1 end-->
                                  
                                  <!--tab2 start-->
                                  <div class="tab-pane" id="tab_1_2">
                                                 
                                  	<div class="control-group">
										<label class="control-label">
										{$Think.lang.idx_form_cfg_emailType}:
                                        <span class="required">*</span></label>
										<div class="controls">
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="smtp" name="cfg[emailType]"  
                                            <eq name="lists.emailType" value="smtp">checked</eq>>
                                            </span></div>Smtp
											</label>
                                            
                                            <label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="mail" name="cfg[emailType]" 
                                            <eq name="lists.emailType" value="mail">checked</eq>>
                                            </span></div>Mail
											</label>
                                            [emailType]
										</div>
									</div>
                                  
                                  	<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_emailServer}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[emailServer]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.emailServer}"/>[emailServer]
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_emailPort}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[emailPort]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.emailPort}"/>[emailPort]
										</div>
									</div>
                                  
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_emailAccount}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[emailAccount]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.emailAccount}"/>[emailAccount]
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_emailPassword}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[emailPwd]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.emailPwd}"/>[emailPwd]
										</div>
									</div>
                                     <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_emailSignal}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[emailSignal]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.emailSignal}"/>[emailSignal]
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_emailSend}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[emailSend]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.emailSend}"/>[emailSend]
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_email_test}：
                                        </label>
										<div class="controls">
                                        <input type="text" id="email_test" data-required="1" class="span4 m-wrap"/>
                                        <button type="button" class="btn blue sendTestEmail">{$Think.lang.idx_form_cfg_email_tested}</button>
										</div>
									</div>
                                  </div>
                                  <!--tab2 end-->
                                   <!--tab3 start-->
                                  <div class="tab-pane" id="tab_1_3">
                                  	<div class="control-group">
										<label class="control-label">
                                        TOKEN:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[wxtoken]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.wxtoken}"/>[wxtoken]
										</div>
									</div>
                                  
                                  	<div class="control-group">
										<label class="control-label">
                                        AppId:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[wxappid]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.wxappid}"/>[wxappid]
										</div>
									</div>
                                    
                                    <div class="control-group">
										<label class="control-label">
                                        AppSecret:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[wxsecret]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.wxsecret}"/>[wxsecret]
										</div>
									</div>
                                  	<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_wxpic}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<a class="btn blue" id="cfg_wxpicPic" data-toggle="modal">
                                            <i class="icon-picture"></i> {$Think.lang.cfg_upl_thumbpic_btn}</a>
                                            <div class="clear"></div>
                                            <div id="cfg_wxpicBox" class="uploadPic_box">
                                            <notempty  name="lists.wxpic.url">
                                              <dl>
                                              <dt>
                                              	  <img src="{$Think.UPLOAD_URL}{$lists.wxpic.url}">
                                              </dt>
                                              <dd class="picname">
                                                  <input type="text" name="wxpic_title[]" 
                                                  		 value="{$lists.wxpic.title}">
                                                  <input type="hidden" name="wxpic_url[]" 
                                                   		 value="{$Think.UPLOAD_URL}{$lists.wxpic.url}">
                                              </dd>
                                              <dd class="pictool">
                                                  <span class="pdel">
                                                  <i class="icon-remove-sign"></i>
                                                  </span>
                                                  <span class="pzoom">
                                                  <i class="icon-cut"></i>
                                                  </span>
                                                  <span class="pshow">
                                                  <i class="icon-eye-open"></i>
                                                  </span>
                                              </dd>
                                              </dl>
                                              </notempty>
                                              [wxpic]
                                            </div>
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_wxname}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[wxname]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.wxname}"/>[wxname]
										</div>
									</div>
                                    
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_wxaccount}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[wxaccount]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.wxaccount}"/>[wxaccount]
										</div>
									</div>
                                    
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_wxpassword}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="password" name="cfg[wxpassword]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.wxpassword}"/>[wxpassword]
										</div>
									</div>
                                    
                                    <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_wxerweima}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<a class="btn blue" id="cfg_wxerweimaPic" data-toggle="modal">
                                            <i class="icon-picture"></i>{$Think.lang.cfg_upl_thumbpic_btn}</a>
                                            <div class="clear"></div>
                                            <div id="cfg_wxerweimaBox" class="uploadPic_box">
                                             <notempty  name="lists.wxerweima.url">
                                              <dl>
                                              <dt>
                                              	  <img src="{$Think.UPLOAD_URL}{$lists.wxerweima.url}">
                                              </dt>
                                              <dd class="picname">
                                                  <input type="text" name="wxerweima_title[]" 
                                                   value="{$lists.wxerweima.title}">
                                                  <input type="hidden" name="wxerweima_url[]" 
                                                   value="{$Think.UPLOAD_URL}{$lists.wxerweima.url}">
                                              </dd>
                                              <dd class="pictool">
                                                  <span class="pdel">
                                                  <i class="icon-remove-sign"></i>
                                                  </span>
                                                  <span class="pzoom">
                                                  <i class="icon-cut"></i>
                                                  </span>
                                                  <span class="pshow">
                                                  <i class="icon-eye-open"></i>
                                                  </span>
                                              </dd>
                                              </dl>
                                              </notempty>
                                              [wxerweima]
                                            </div>
										</div>
									</div>
									
									 <div class="control-group">
										<label class="control-label">
                                       {$Think.lang.idx_form_cfg_wxbigpic}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<a class="btn blue" id="cfg_wxbigpicPic" data-toggle="modal">
                                            <i class="icon-picture"></i> {$Think.lang.cfg_upl_thumbpic_btn}</a>
                                            <div class="clear"></div>
                                            <div id="cfg_wxbigpicBox" class="uploadPic_box">
                                             <notempty  name="lists.wxbigpic.url">
                                              <dl>
                                              <dt>
                                              	  <img src="{$Think.UPLOAD_URL}{$lists.wxbigpic.url}">
                                              </dt>
                                              <dd class="picname">
                                                  <input type="text" name="wxbigpic_title[]" 
                                                   value="{$lists.wxbigpic.title}">
                                                  <input type="hidden" name="wxbigpic_url[]" 
                                                   value="{$Think.UPLOAD_URL}{$lists.wxbigpic.url}">
                                              </dd>
                                              <dd class="pictool">
                                                  <span class="pdel">
                                                  <i class="icon-remove-sign"></i>
                                                  </span>
                                                  <span class="pzoom">
                                                  <i class="icon-cut"></i>
                                                  </span>
                                                  <span class="pshow">
                                                  <i class="icon-eye-open"></i>
                                                  </span>
                                              </dd>
                                              </dl>
                                              </notempty>
                                              [wxbigpic]
                                            </div>
										</div>
									</div>
                                    
                                    
                                     <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_wxsmallpic}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<a class="btn blue" id="cfg_wxsmallpicPic" data-toggle="modal">
                                            <i class="icon-picture"></i> {$Think.lang.cfg_upl_thumbpic_btn}</a>
                                            <div class="clear"></div>
                                            <div id="cfg_wxsmallpicBox" class="uploadPic_box">
                                             <notempty  name="lists.wxsmallpic.url">
                                              <dl>
                                              <dt>
                                              	  <img src="{$Think.UPLOAD_URL}{$lists.wxsmallpic.url}">
                                              </dt>
                                              <dd class="picname">
                                                  <input type="text" name="wxsmallpic_title[]" 
                                                   value="{$lists.wxsmallpic.title}">
                                                  <input type="hidden" name="wxsmallpic_url[]" 
                                                   value="{$Think.UPLOAD_URL}{$lists.wxsmallpic.url}">
                                              </dd>
                                              <dd class="pictool">
                                                  <span class="pdel">
                                                  <i class="icon-remove-sign"></i>
                                                  </span>
                                                  <span class="pzoom">
                                                  <i class="icon-cut"></i>
                                                  </span>
                                                  <span class="pshow">
                                                  <i class="icon-eye-open"></i>
                                                  </span>
                                              </dd>
                                              </dl>
                                              </notempty>
                                              [wxsmallpic]
                                            </div>
										</div>
									</div>
									
                                    
                                  </div>
                                  <!--tab3 end--> 
                                  
                                   <!--tab4 start-->
                                  <div class="tab-pane" id="tab_1_4">
                                  
                                  	<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_smsurl}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[smsurl]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.smsurl}"/>[smsurl]
										</div>
									</div>	
									
									<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_smsid}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[smsid]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.smsid}"/>[smsid]
										</div>
									</div>
									
									<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_smskey}:
                                        <span class="required">*</span></label>
										<div class="controls">
                                        	<input type="text" name="cfg[smskey]" data-required="1" class="span6 m-wrap"
                                             value="{$lists.smskey}"/>[smskey]
										</div>
									</div>
									
								  </div>
                                  <!--tab4 end-->
                                  
                                   <!--tab5 start-->
                                  <div class="tab-pane" id="tab_1_5">
                                  
                                  <div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_tipreg}:
                                        <span class="required">*</span></label>
										<div class="controls">
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="1" name="cfg[tipreg]"  
                                            <eq name="lists.tipreg" value="1">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipall}
											</label>
                                            
                                            <label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="0" name="cfg[tipreg]"  
                                            <eq name="lists.tipreg" value="0">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipnot}
											</label>
											
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="2" name="cfg[tipreg]"  
                                            <eq name="lists.tipreg" value="2">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipsms}
											</label>
											
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="3" name="cfg[tipreg]"  
                                            <eq name="lists.tipreg" value="3">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipeml}
											</label>
                                            [tipreg]
										</div>
									</div>	
                                  
                                  	<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_tipord}:
                                        <span class="required">*</span></label>
										<div class="controls">
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="1" name="cfg[tipord]"  
                                            <eq name="lists.tipord" value="1">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipall}
											</label>
                                            
                                            <label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="0" name="cfg[tipord]"  
                                            <eq name="lists.tipord" value="0">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipnot}
											</label>
											
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="2" name="cfg[tipord]"  
                                            <eq name="lists.tipord" value="2">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipsms}
											</label>
											
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="3" name="cfg[tipord]"  
                                            <eq name="lists.tipord" value="3">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipeml}
											</label>
                                            [tipord]
										</div>
									</div>	
									
									<div class="control-group">
										<label class="control-label">
                                        {$Think.lang.idx_form_cfg_tipstu}:
                                        <span class="required">*</span></label>
										<div class="controls">
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="1" name="cfg[tipstu]"  
                                            <eq name="lists.tipstu" value="1">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipall}
											</label>
                                            
                                            <label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="0" name="cfg[tipstu]"  
                                            <eq name="lists.tipstu" value="0">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipnot}
											</label>
											
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="2" name="cfg[tipstu]"  
                                            <eq name="lists.tipstu" value="2">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipsms}
											</label>
											
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="3" name="cfg[tipstu]"  
                                            <eq name="lists.tipstu" value="3">checked</eq>>
                                            </span></div>{$Think.lang.idx_form_cfg_tipeml}
											</label>
                                            [tipstu]
										</div>
									</div>
									
									<div class="control-group">
										<label class="control-label">
                                                                                                        是否赠送饮料:
                                        <span class="required">*</span></label>
										<div class="controls">
											<label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="0" name="cfg[tidrink]"  
                                            <eq name="lists.tipstu" value="1">checked</eq>>
                                            </span></div>是
											</label>
                                            
                                            <label class="radio">
											<div class="radio"><span>
                                            <input type="radio" value="1" name="cfg[tidrink]"  
                                            <eq name="lists.tipstu" value="0">checked</eq>>
                                            </span></div>否
											</label>
											[tidrink]
										</div>
									</div>	
								  </div>
                                  <!--tab5 end--> 

                                </div>
                                </div>
                                  
                                    
                                <div class="form-actions">
                                    <button type="submit" class="btn blue">{$Think.lang.cfg_form_ele_submit}</button>
                                    <button type="reset" class="btn">{$Think.lang.cfg_form_ele_reset}</button>
                                </div>
								</form>
								<!-- END FORM-->
							</div>
						</div>
						<!-- END VALIDATION STATES-->
					</div>
				</div>
				<!-- END PAGE CONTENT-->         
		  </div>
			<!-- END PAGE CONTAINER-->
		</div>
		<!-- END PAGE -->
	</div>
	<!-- END CONTAINER -->
	<!-- BEGIN FOOTER -->
	<include file="Public:footer" />
	<!-- END FOOTER -->
	<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
	<!-- BEGIN CORE PLUGINS -->
	<script src="__PUBLIC__/Js/jquery.min.js" type="text/javascript"></script>
	<script src="{$NOW_THEME_URL}/Assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>     
	<script src="{$NOW_THEME_URL}/Assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
	<!--[if lt IE 9]>
	<script src="{$NOW_THEME_URL}/Assets/plugins/excanvas.min.js"></script>
	<script src="{$NOW_THEME_URL}/Assets/plugins/respond.min.js"></script>  
	<![endif]-->
	<script src="{$NOW_THEME_URL}/Assets/plugins/jquery.cookie.min.js" type="text/javascript"></script>
	<!-- END CORE PLUGINS -->
	<!-- BEGIN PAGE LEVEL PLUGINS -->
	<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/plugins/jquery-validation/dist/jquery.validate.min.js"></script>
	<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/plugins/jquery-validation/dist/additional-methods.min.js"></script>
    <script type="text/javascript" src="{$NOW_THEME_URL}/Assets/plugins/jquery-validation/localization/messages_zh.js"></script>
	<!-- END PAGE LEVEL PLUGINS -->
	<!-- BEGIN PAGE LEVEL STYLES -->
	<script src="{$NOW_THEME_URL}/Assets/scripts/app.js"></script>
	<!-- END PAGE LEVEL STYLES -->  
   	
     <!-- BEGIN UPLOADPIC-->
    <script type="text/javascript" src="{$NOW_THEME_URL}/Assets/plugins/artdialog/jquery.artdialog.js?skin=bootstrap"></script>
	<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/plugins/artdialog/plugins/iframeTools.js"></script>
    <script src="{$NOW_THEME_URL}/Assets/scripts/upload/pic.js"></script>
    <!-- END UPLOADPIC-->
      
	<script type="text/javascript">
		var ABS_URL_Theme = "{$NOW_THEME_URL}/";
		
		//UploadPic STATES CONSTANT
		var ABS_URL = "{$Think.TMPL_URL}/";
		var REL_URL = "{$Think.REL_URL}";
		//UploadPic END CONSTANT
		
		var vMessage = {};//用户添加表单的验证提示语言包

		
		var jsLang = {};
		jsLang.crop_title      = '{:L("cfg_upl_crop_title")}';
		jsLang.crop_false      = '{:L("cfg_upl_crop_false")}';
		jsLang.crop_noselect   = '{:L("cfg_upl_crop_noselect")}';
		jsLang.uploadSinglePic = '{:L("cfg_upl_thumbpic_btn")}';
		jsLang.uploadAtlasPic  = '{:L("cfg_upl_atlaspic_btn")}';
		
		jQuery(document).ready(function() {   
		   
		   App.init();		   
		   uploadPic.init([
			 {
				'btn':'cfg_wxpicPic',
				'title':jsLang.uploadSinglePic,
				'box':'cfg_wxpicBox',
				'ptype':'single',
				'field':'wxpic'
			  },
			  {
				'btn':'cfg_wxerweimaPic',
				'title':jsLang.uploadSinglePic,
				'box':'cfg_wxerweimaBox',
				'ptype':'single',
				'field':'wxerweima'
			  },
			  {
				'btn':'cfg_wxbigpicPic',
				'title':jsLang.uploadSinglePic,
				'box':'cfg_wxbigpicBox',
				'ptype':'single',
				'field':'wxbigpic'
			  },
			  {
				'btn':'cfg_wxsmallpicPic',
				'title':jsLang.uploadSinglePic,
				'box':'cfg_wxsmallpicBox',
				'ptype':'single',
				'field':'wxsmallpic'
			  }
			],jsLang);
		   
		   $('.sendTestEmail').bind("click",function(){
			   var email = $('#email_test').val();
			   $.get("{:U('Email/email_test')}",{email:email},function(data){
				   alert(data.info);
			   },"json");
		   });
		});
	</script>
	<!-- END JAVASCRIPTS -->   
</body>
<!-- END BODY -->
</html>